home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / alib / csup / FD / alib_lib.fd next >
Encoding:
Text File  |  1994-02-14  |  2.3 KB  |  90 lines

  1. ##base _None
  2. ##bias 30
  3. ##public
  4. *
  5. *  Exec support functions
  6. *
  7. BeginIO(ioReq)(a0)
  8. CreateExtIO(port,ioSize)(a0,d0)
  9. CreatePort(name,pri)(a0,d0)
  10. CreateStdIO(port)(a0)
  11. CreateTask(name,pri,initPC,stackSize)(a0,d0/a1,d1)
  12. DeleteExtIO(ioReq)(a0)
  13. DeletePort(ioReq)(a0)
  14. DeleteStdIO(ioReq)(a0)
  15. DeleteTask(task)(a0)
  16. NewList(list)(a0)
  17. LibAllocPooled(poolHeader,memSize)(a0,d0)
  18. LibCreatePool(memFlags,puddleSize,threshSize)(d0/d1/d2)
  19. LibDeletePool(poolHeader)(a0)
  20. LibFreePooled(poolHeader,memory,memSize)(a0/a1,d0)
  21. *
  22. * Assorted functions in amiga.lib
  23. *
  24. FastRand(seed)(d0)
  25. RangeRand(maxValue)(d0)
  26. *
  27. * Graphics support functions in amiga.lib
  28. *
  29. AddTOF(i,p,a)(a0/a1,d0)
  30. RemTOF(i)(a0)
  31. waitbeam(b)(d0)
  32. *
  33. * math support functions in amiga.lib
  34. *
  35. afp(string)(a0)
  36. arnd(place,exp,string)(d0/d1/a0)
  37. dbf(exp,mant)(d0/d1)
  38. fpa(fnum,string)(d0/a0)
  39. fpbcd(fnum,string)(d0/a0)
  40. *
  41. * Timer support functions in amiga.lib (V36 and higher only)
  42. *
  43. TimeDelay(unit,secs,microsecs)(d0/d1/d2)
  44. DoTimer(*,unit,command)(a0,d0/d1)
  45. *
  46. *  Commodities functions in amiga.lib (V36 and higher only)
  47. *
  48. ArgArrayDone()()
  49. ArgArrayInit(argc,argv)(a0/a1)
  50. ArgInt(tt,entry,defaultval)(a0/a1,d0)
  51. ArgString(tt,entry,defaulstring)(a0/a1/a2)
  52. HotKey(description,port,id)(a0/a1,d0)
  53. InvertString(str,km)(a0/a1)
  54. FreeIEvents(events)(a0)
  55. *
  56. * Commodities Macros
  57. *
  58. * CxObj *CxCustom(LONG(*)(),LONG id)(A0,D0)
  59. * CxObj *CxDebug(LONG id)(D0)
  60. * CxObj *CxFilter(STRPTR description)(A0)
  61. * CxObj *CxSender(struct MsgPort *port,LONG id)(A0,D0)
  62. * CxObj *CxSignal(struct Task *task,LONG signal)(A0,D0)
  63. * CxObj *CxTranslate(struct InputEvent *ie)(A0)
  64. *
  65. *  ARexx support functions in amiga.lib
  66. *
  67. CheckRexxMsg(rexxmsg)(a0)
  68. GetRexxVar(rexxmsg,name,result)(a0/a1,d0)
  69. SetRexxVar(rexxmsg,name,value,length)(a0/a1,d0/d1)
  70. *
  71. *  Intuition hook and boopsi support functions in amiga.lib.
  72. *  These functions do not require any particular ROM revision
  73. *  to operate correctly, though they deal with concepts first introduced
  74. *  in V36.  These functions would work with compatibly-implemented
  75. *  hooks or objects under V34.
  76. *
  77. CallHookA(hookPtr,obj,message)(a0/a2,a1)
  78. DoMethodA(obj,message)(a2,a1)
  79. DoSuperMethodA(cl,obj,message)(a0/a2,a1)
  80. CoerceMethodA(cl,obj,message)(a0/a2,a1)
  81. ##private
  82. ##public
  83. *
  84. *  Network-support functions in amiga.lib.
  85. *  ACrypt() first appeared in later V39 versions of amiga.lib, but
  86. *  operates correctly under V37 and up.
  87. *
  88. ACrypt(buffer,password,username)(a0/a1/a2)
  89. ##end
  90.